public class PortalTile extends WalkTile{
	
	private PortalTile connection;
	
	private int dLevel;
	
	public PortalTile(char form, int x, int y, PortalTile conn, int dl){
		super(form,x,y);
		connection = conn;
		dLevel = dl;
	}
	
	public PortalTile(char form, int x, int y, int dl){
		super(form,x,y);
		connection = null;
		dLevel = dl;
	}
	
	public PortalTile getConnection(){ 
		// if connection == null -> MapHost needs to create a lower level
		return connection;
	}
	
	public void setConnection(PortalTile c){ connection = c; }
	
	public int getDLevel(){ return dLevel; }
	
	public void setDLevel(int c){ dLevel = c; }
}